package com.dkts.oil.constant;

/**
 * 结果码枚举
 *
 * @author Wulijun
 * @date 2021/10/13 18:04
 */
public enum ResultCode {

    /**
     * 成功
     */
    SUCCESS(200, "success");

    /**
     * 结果码
     */
    private int code;

    /**
     * 结果码描述
     */
    private String msg;

    ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}

